package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户动态信息表
 *
 * @TableName ap_dynamic
 */
@TableName(value = "ap_dynamic")
@Data
public class ApDynamic implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id")
    private Object id;
    /**
     * 文章作者的ID
     */
    @TableField(value = "user_id")
    private Object userId;
    /**
     * 作者昵称
     */
    @TableField(value = "user_name")
    private String userName;
    /**
     * 频道名称
     */
    @TableField(value = "content")
    private String content;
    /**
     * 是否转发
     */
    @TableField(value = "is_forward")
    private Integer isForward;
    /**
     * 转发文章ID
     */
    @TableField(value = "article_id")
    private Long articleId;
    /**
     * 转发文章标题
     */
    @TableField(value = "articel_title")
    private String articelTitle;
    /**
     * 转发文章图片
     */
    @TableField(value = "article_image")
    private String articleImage;
    /**
     * 布局标识
     * 0 无图动态
     * 1 单图动态
     * 2 多图动态
     * 3 转发动态
     */
    @TableField(value = "layout")
    private Integer layout;
    /**
     * 文章图片
     * 多张逗号分隔
     */
    @TableField(value = "images")
    private String images;
    /**
     * 点赞数量
     */
    @TableField(value = "likes")
    private Object likes;
    /**
     * 收藏数量
     */
    @TableField(value = "collection")
    private Object collection;
    /**
     * 评论数量
     */
    @TableField(value = "comment")
    private Object comment;
    /**
     * 阅读数量
     */
    @TableField(value = "views")
    private Object views;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}